package com.mz.ozy.bean;

import java.util.List;

/**
 * 首页关注商户列表
 */
public class PopularBean {


    /**
     * 返回参数说明 : activity_list(活动列表 id(活动id),name(活动名称),img(活动图片),PageItems(推荐商品列表 aid(活动id),pid(商品id),activity_price(活动价格),preferential_price(优惠价格),tradename(商品名称),described(商品描述),weight(重量),img_zt(商品图片),name(活动名称)))
     * activity_list : [{"img":"123","name":"测试","id":1}]
     * respMsg : SUCCESS
     * page : {"pageTotle":1,"pageNumber":1,"pagesAvailable":1,"sysAmtFeeSum":0,"pageSize":20,"pageItems":[{"tradename":"包子1","name":"测试","weight":"9","pid":1,"activity_price":"100.0000","img_zt":"http://ozy.ozylives.com/ozy1586857188089","aid":1,"preferential_price":"200.0000","described":"包子1"}],"sumResult":{},"pageAmtSum":0}
     * sessionId : 5BB8E58F464C6B8BF6E5FD1283777661
     * respCode : 00000
     */

    private PageBean page;
    private List<ActivityListBean> activity_list;
    /**
     * 返回参数说明 : activity_map(活动 id(活动id),name(活动名称),img(活动图片),type(0-满减不叠加 1-满减叠加 2-特价 3-包邮),amt(活动金额),state(0-未开始 1-进行中 2-已结束)),PageItems(推荐商品列表 aid(活动id),pid(商品id),activity_price(活动价格),preferential_price(优惠价格),tradename(商品名称),described(商品描述),weight(重量),img_zt(商品图片)))
     * activity_map : {"img":"123","name":"测试","amt":"100.0000","id":1,"state":1,"type":0}
     * respMsg : SUCCESS
     * sessionId : 5BB8E58F464C6B8BF6E5FD1283777661
     * respCode : 00000
     */

    private ActivityMapBean activity_map;

    public PageBean getPage() {
        return page;
    }

    public void setPage(PageBean page) {
        this.page = page;
    }

    public List<ActivityListBean> getActivity_list() {
        return activity_list;
    }

    public void setActivity_list(List<ActivityListBean> activity_list) {
        this.activity_list = activity_list;
    }

    public ActivityMapBean getActivity_map() {
        return activity_map;
    }

    public void setActivity_map(ActivityMapBean activity_map) {
        this.activity_map = activity_map;
    }

    public static class PageBean {
        /**
         * pageTotle : 1
         * pageNumber : 1
         * pagesAvailable : 1
         * sysAmtFeeSum : 0
         * pageSize : 20
         * pageItems : [{"tradename":"包子1","name":"测试","weight":"9","pid":1,"activity_price":"100.0000","img_zt":"http://ozy.ozylives.com/ozy1586857188089","aid":1,"preferential_price":"200.0000","described":"包子1"}]
         * sumResult : {}
         * pageAmtSum : 0
         */

        private int pageTotle;
        private int pageNumber;
        private int pagesAvailable;
        private int sysAmtFeeSum;
        private int pageSize;
        private SumResultBean sumResult;
        private int pageAmtSum;
        private List<PageItemsBean> pageItems;

        public int getPageTotle() {
            return pageTotle;
        }

        public void setPageTotle(int pageTotle) {
            this.pageTotle = pageTotle;
        }

        public int getPageNumber() {
            return pageNumber;
        }

        public void setPageNumber(int pageNumber) {
            this.pageNumber = pageNumber;
        }

        public int getPagesAvailable() {
            return pagesAvailable;
        }

        public void setPagesAvailable(int pagesAvailable) {
            this.pagesAvailable = pagesAvailable;
        }

        public int getSysAmtFeeSum() {
            return sysAmtFeeSum;
        }

        public void setSysAmtFeeSum(int sysAmtFeeSum) {
            this.sysAmtFeeSum = sysAmtFeeSum;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public SumResultBean getSumResult() {
            return sumResult;
        }

        public void setSumResult(SumResultBean sumResult) {
            this.sumResult = sumResult;
        }

        public int getPageAmtSum() {
            return pageAmtSum;
        }

        public void setPageAmtSum(int pageAmtSum) {
            this.pageAmtSum = pageAmtSum;
        }

        public List<PageItemsBean> getPageItems() {
            return pageItems;
        }

        public void setPageItems(List<PageItemsBean> pageItems) {
            this.pageItems = pageItems;
        }

        public static class SumResultBean {
        }

        public static class PageItemsBean {
            /**
             * tradename : 包子1
             * name : 测试
             * weight : 9
             * pid : 1
             * activity_price : 100.0000
             * img_zt : http://ozy.ozylives.com/ozy1586857188089
             * aid : 1
             * preferential_price : 200.0000
             * described : 包子1
             */

            private String tradename;
            private String name;
            private String weight;
            private int pid;
            private String activity_price;
            private String img_zt;
            private String price;
            private String market_price;
            private int aid;
            private String preferential_price;
            private String described;
            private int producttype;

            public int getProducttype() {
                return producttype;
            }

            public void setProducttype(int producttype) {
                this.producttype = producttype;
            }

            public String getMarket_price() {
                return market_price;
            }

            public String getPrice() {
                return price;
            }

            public String getTradename() {
                return tradename;
            }

            public void setTradename(String tradename) {
                this.tradename = tradename;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getWeight() {
                return weight;
            }

            public void setWeight(String weight) {
                this.weight = weight;
            }

            public int getPid() {
                return pid;
            }

            public void setPid(int pid) {
                this.pid = pid;
            }

            public String getActivity_price() {
                return activity_price;
            }

            public void setActivity_price(String activity_price) {
                this.activity_price = activity_price;
            }

            public String getImg_zt() {
                return img_zt;
            }

            public void setImg_zt(String img_zt) {
                this.img_zt = img_zt;
            }

            public int getAid() {
                return aid;
            }

            public void setAid(int aid) {
                this.aid = aid;
            }

            public String getPreferential_price() {
                return preferential_price;
            }

            public void setPreferential_price(String preferential_price) {
                this.preferential_price = preferential_price;
            }

            public String getDescribed() {
                return described;
            }

            public void setDescribed(String described) {
                this.described = described;
            }
        }
    }

    public static class ActivityListBean {
        /**
         * img : 123
         * name : 测试
         * id : 1
         */

        private String img;
        private String name;
        private int id;

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }
    }

    public static class ActivityMapBean {
        /**
         * img : 123
         * name : 测试
         * amt : 100.0000
         * id : 1
         * state : 1
         * type : 0
         */

        private String img;
        private String name;
        private String amt;
        private int id;
        private int state;
        private int type;

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getAmt() {
            return amt;
        }

        public void setAmt(String amt) {
            this.amt = amt;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }
    }
}
